﻿<local:TaskTotalsControlBase x:Class="Cronus.View.Totals.TaskTotalsControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:Cronus.View.Totals"
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <ListView ItemsSource="{Binding TaskSummaries}">
            <ListView.View>
                <GridView>
                    <GridViewColumn DisplayMemberBinding="{Binding Path=Name}"
                                    Header="Task" />
                    <GridViewColumn DisplayMemberBinding="{Binding Path=HoursToday}"
                                    Header="Today" />
                    <GridViewColumn DisplayMemberBinding="{Binding Path=HoursWeek}"
                                    Header="Week" />
                    <GridViewColumn DisplayMemberBinding="{Binding Path=HoursMonth}"
                                    Header="Month" />
                    <GridViewColumn DisplayMemberBinding="{Binding Path=HoursTotal}"
                                    Header="Total" />
                </GridView>
            </ListView.View>
        </ListView>    </Grid>
</local:TaskTotalsControlBase>
